﻿//vs
//#version 150

in vec3 inPosition;
in vec3 inColor;

uniform mat4 mvpMat;

out vec3 passColor;

void main() {
    gl_Position = mvpMat * vec4(inPosition, 1.0);

    passColor = inColor;
}

//fs
//#version 150

in vec3 passColor;

out vec4 outColor;

void main() {
    outColor = vec4(passColor, 1.0);
}